<%@page import="com.qdu.entity.Users"%>
<%@page import="com.qdu.service.ActivityService"%>
<%@page import="com.qdu.entity.ActiSingUp"%>
<%@page import="java.util.List"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>公益活动</title>

        <link href="css/bootstrap.min.css" rel="stylesheet" />
        <link href="css/flexslider.css" rel="stylesheet" />
        <link href="css/style.css" rel="stylesheet" />
        <link href="css/style_1.css" rel="stylesheet" />
        <link rel="stylesheet" href="css/font-awesome.min.css">
        <script src="js/jquery.flexslider.js"></script>

        <link href="css/bootstrap.min.js" rel="stylesheet" />
        <script src="js/jquery.min.js"></script>

        <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
        <link href='http://fonts.useso.com/css?family=Source+Sans+Pro:200,300,400,600,700,900' rel='stylesheet' type='text/css'>

    </head>

    <body>
        <div class="header">
            <div class="container">
                <a class="navbar-brand" href="index"><i class="fa fa-home"></i>Home</a>

                <div class="text-center">
                    <!--搜索页面-->
                    <form action="gnms" class="form-inline">
                        <input type="text" id="input_wd" name="keyword" class="form-control keyword_text" placeholder="输入活动名称">
                        <button type="submit" class="btn banner_btn keyword_text1">搜索</button>
                    </form>

                </div>

                <div class="menu"> <a class="toggleMenu" href="#"><img src="images/nav_icon.png" alt="" /> </a>
                    <ul class="nav" id="nav">
                        <li class=""><a href="salfm">日志</a></li>
                        <li><a href="allActivity">活动</a></li>
                        <li><a href="profile">个人页面</a></li>
                        <li><a href="registerManager.html">管理员登录</a></li>

                    </ul>
                    <script type="text/javascript" src="js/responsive-nav.js"></script> 
                </div>
            </div>
        </div>

        <div class="container">

            <h1 class="text-center text-warning">个人信息</h1>
            <hr>
            <br>

            <a href="los" class="logout">退出登录</a>

            <div class="content-container">

                <!--src指定图片的路径-->
                <!--title指定鼠标悬浮到图片上显示的提示文字-->
                <!--alt指定图片不能正常显示的时候显示的替换文字-->
              

                <%
                    //获得参与活动的信息
                    List<ActiSingUp> signUp = (List<ActiSingUp>) request.getAttribute("SignUpList");
                    pageContext.setAttribute("signUp", signUp);
                    //获得用户的信息
                    HttpSession session1 = request.getSession();
                    Users user = null;
                    user = (Users) session1.getAttribute("userInfo");
                %>
                <div>
                    <br>账号： <%=user.getUid()%>
                    <br>姓名： <%=user.getUname()%>
                    <br>性别： <%=user.getUgender()%>
                    <br>密码：<%=user.getUpwd()%>
                    <br>级别：<%=user.getUlevel()%>
                    <br>
                </div>我的活动:
                <c:forEach items="${pageScope.signUp}" var="su">
                    <a href="gmis?activityId=${su.activityId}" style="text-decoration: none;">${su.activityId}</a>
                </c:forEach>

        </div>

    </div>
</body>
</html>
s
